package com.bridge.applets.service;

import com.bridge.applets.model.entity.BridgeMeasureModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bridge.applets.model.vo.req.BridgeMeasureReq;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 桥梁测量样本表 服务类
 * </p>
 *
 * @author xyjian
 * @since 2024-11-25
 */
public interface BridgeMeasureModelService extends IService<BridgeMeasureModel> {

    Integer queryCount(String bridgeCode);

    Map<String, Integer> queryCountByList(List<String> bridgeCodes);

    Map<String, Integer> queryCountGroupCodeTypeByList(List<String> bridgeCodes);

    Map<Integer, Integer> queryCountSampleType(String bridgeCode);

    List<BridgeMeasureModel> queryListAll(BridgeMeasureReq req);

    List<BridgeMeasureModel> queryByIds(List<Long> sampleIds);

    void deleteByBridgeCode(String bridgeCode);

}
